﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace grounding.parser
{
    /// <summary>
    /// The parser interface represents a system to extract logic from natural language.
    /// Examples of a parser include:
    /// <list type="bullet">
    /// <item>Semantic Parser</item>
    /// <item>Template Matcher</item>
    /// </list>
    /// </summary>
    public interface IParser
    {
        /// <summary>
        /// Takes in natural english and extracts computer understandable logic from it.
        /// </summary>
        /// <param name="naturalText">String containing the natural english to parse</param>
        /// <returns>String containing logic (Change this to an actual class representing the logic)</returns>
        ILogicElement Parse(String naturalText);
    }
}
